<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/22
 * Time: 9:07
 */

namespace app\admin\validate;


use think\Validate;

class Brand extends Validate
{
    protected $rule = [
        'bname'  => 'require',
        'sort' => 'require',
        'logo' => 'require',
    ];

    protected $message = [
        'bname.require'  => '请输入品牌',
        'sort.require'  => '请排序',
        'logo.require'  => '请上传图片',
    ];
}